﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001065 RID: 4197
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournReviveAvatarCsReq : IMessage<RogueTournReviveAvatarCsReq>, IMessage, IEquatable<RogueTournReviveAvatarCsReq>, IDeepCloneable<RogueTournReviveAvatarCsReq>, IBufferMessage
	{
		// Token: 0x170034F3 RID: 13555
		// (get) Token: 0x0600BB78 RID: 47992 RVA: 0x001F919D File Offset: 0x001F739D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournReviveAvatarCsReq> Parser
		{
			get
			{
				return RogueTournReviveAvatarCsReq._parser;
			}
		}

		// Token: 0x170034F4 RID: 13556
		// (get) Token: 0x0600BB79 RID: 47993 RVA: 0x001F91A4 File Offset: 0x001F73A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournReviveAvatarCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170034F5 RID: 13557
		// (get) Token: 0x0600BB7A RID: 47994 RVA: 0x001F91B6 File Offset: 0x001F73B6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournReviveAvatarCsReq.Descriptor;
			}
		}

		// Token: 0x0600BB7B RID: 47995 RVA: 0x001F91BD File Offset: 0x001F73BD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveAvatarCsReq()
		{
		}

		// Token: 0x0600BB7C RID: 47996 RVA: 0x001F91D0 File Offset: 0x001F73D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveAvatarCsReq(RogueTournReviveAvatarCsReq other) : this()
		{
			this.monsterId_ = other.monsterId_;
			this.baseAvatarIdList_ = other.baseAvatarIdList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BB7D RID: 47997 RVA: 0x001F9206 File Offset: 0x001F7406
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournReviveAvatarCsReq Clone()
		{
			return new RogueTournReviveAvatarCsReq(this);
		}

		// Token: 0x170034F6 RID: 13558
		// (get) Token: 0x0600BB7E RID: 47998 RVA: 0x001F920E File Offset: 0x001F740E
		// (set) Token: 0x0600BB7F RID: 47999 RVA: 0x001F9216 File Offset: 0x001F7416
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x170034F7 RID: 13559
		// (get) Token: 0x0600BB80 RID: 48000 RVA: 0x001F921F File Offset: 0x001F741F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> BaseAvatarIdList
		{
			get
			{
				return this.baseAvatarIdList_;
			}
		}

		// Token: 0x0600BB81 RID: 48001 RVA: 0x001F9227 File Offset: 0x001F7427
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournReviveAvatarCsReq);
		}

		// Token: 0x0600BB82 RID: 48002 RVA: 0x001F9238 File Offset: 0x001F7438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournReviveAvatarCsReq other)
		{
			return other != null && (other == this || (this.MonsterId == other.MonsterId && this.baseAvatarIdList_.Equals(other.baseAvatarIdList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BB83 RID: 48003 RVA: 0x001F9288 File Offset: 0x001F7488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			num ^= this.baseAvatarIdList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BB84 RID: 48004 RVA: 0x001F92D5 File Offset: 0x001F74D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BB85 RID: 48005 RVA: 0x001F92DD File Offset: 0x001F74DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BB86 RID: 48006 RVA: 0x001F92E8 File Offset: 0x001F74E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.baseAvatarIdList_.WriteTo(ref output, RogueTournReviveAvatarCsReq._repeated_baseAvatarIdList_codec);
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BB87 RID: 48007 RVA: 0x001F9338 File Offset: 0x001F7538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			num += this.baseAvatarIdList_.CalculateSize(RogueTournReviveAvatarCsReq._repeated_baseAvatarIdList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BB88 RID: 48008 RVA: 0x001F938C File Offset: 0x001F758C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournReviveAvatarCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this.baseAvatarIdList_.Add(other.baseAvatarIdList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BB89 RID: 48009 RVA: 0x001F93D9 File Offset: 0x001F75D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BB8A RID: 48010 RVA: 0x001F93E4 File Offset: 0x001F75E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U && num != 74U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.MonsterId = input.ReadUInt32();
					}
				}
				else
				{
					this.baseAvatarIdList_.AddEntriesFrom(ref input, RogueTournReviveAvatarCsReq._repeated_baseAvatarIdList_codec);
				}
			}
		}

		// Token: 0x04004B78 RID: 19320
		private static readonly MessageParser<RogueTournReviveAvatarCsReq> _parser = new MessageParser<RogueTournReviveAvatarCsReq>(() => new RogueTournReviveAvatarCsReq());

		// Token: 0x04004B79 RID: 19321
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004B7A RID: 19322
		public const int MonsterIdFieldNumber = 13;

		// Token: 0x04004B7B RID: 19323
		private uint monsterId_;

		// Token: 0x04004B7C RID: 19324
		public const int BaseAvatarIdListFieldNumber = 9;

		// Token: 0x04004B7D RID: 19325
		private static readonly FieldCodec<uint> _repeated_baseAvatarIdList_codec = FieldCodec.ForUInt32(74U);

		// Token: 0x04004B7E RID: 19326
		private readonly RepeatedField<uint> baseAvatarIdList_ = new RepeatedField<uint>();
	}
}
